package com.dao.secondary.device;
import com.model.domain.device.GetDeviceObdGpsInfoDO;
import com.model.pojo.device.DeviceObdGpsInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface DeviceObdGpsInfoMapper {
    int deleteByPrimaryKey(@Param("deviceObdGpsInfoId") Long deviceObdGpsInfoId);

    int insert(DeviceObdGpsInfo record);

    int insertSelective(DeviceObdGpsInfo record);

    DeviceObdGpsInfo selectByPrimaryKey(@Param("tableName") String tableName, @Param("id") Long id);
    int updateByPrimaryKeySelective(DeviceObdGpsInfo record);

    int updateByPrimaryKey(DeviceObdGpsInfo record);

    List<DeviceObdGpsInfo> selectList(GetDeviceObdGpsInfoDO getdeviceObdGpsInfoDO);
    List<Map<String,Object>> selectListGroupBy(@Param("getDeviceObdGpsInfoDO") GetDeviceObdGpsInfoDO getDeviceObdGpsInfoDO);
    void insertListSelective(List<DeviceObdGpsInfo> deviceObdGpsInfoList);

    void updateListSelective(List<DeviceObdGpsInfo> deviceObdGpsInfoList);
    int countByDtu(GetDeviceObdGpsInfoDO getdeviceObdGpsInfoDO);
    int has(@Param("deviceObdGpsInfoId") Long deviceObdGpsInfoId, @Param("isDelete") Byte isDelete);
}